
#ifndef _AIPlayer_H_
#define _AIPlayer_H_

#include "../Player.h"
#include "../Utils/Vector2D.h"
#include "AttackerRole.h"
#include "DefenderRole.h"
#include "MarauderRole.h"
#include "RoleAssigner.h"


class AIPlayer : public Player {
  public:
    AIPlayer(unsigned player_id, std::string player_name, unsigned team_id);
    ~AIPlayer();

    void update(void);
    PlayerType getPlayerType(void){ return AI_PLAYER; }

  private:
  
    AttackerRole *attacker_role;
    DefenderRole *defender_role;
    MarauderRole *marauder_role;

    float attackerScore(void);
    float defenderScore(void);
    float marauderScore(void);

    void purgeRoles(void);
};


#endif

